Polynomials The General Polynomial The general polynomial:
p ( x ) = a 0 + a 1 x + a 2 x 2 + ⋯ + a n x n p(x)=a_{0}+a_{1}x+a_{2}x^{2}+\dots +a_{n}x^{n} p ( x ) = a 0 + a 1 x + a 2 x 2 + ⋯ + a n x n
The simplest:
p ( x ) = a p(x)=a p ( x ) = a
Details A polynomial describes a specific function consisting of linear combinations of positive integer powers of the explanatory variable.
The general form of a polynomial is:
p ( x ) = a 0 + a 1 x + a 2 x 2 + ⋯ + a n x n p(x)=a_{0}+a_{1}x+a_{2}x^{2}+\dots +a_{n}x^{n} p ( x ) = a 0 + a 1 x + a 2 x 2 + ⋯ + a n x n
The simplest of these is the constant polynomial
p ( x ) = a p(x)=a p ( x ) = a
The Quadratic The general form of the quadratic (parabola) is:
p ( x ) = a x 2 + b x + c p(x) = ax^2 + bx + c p ( x ) = a x 2 + b x + c
The simplest quadratic is
p ( x ) = x 2 p(x) = x^2 p ( x ) = x 2
Figure: Parabolas: Quadratic functions
Details The quadratic polynomial of the form p ( x ) = a x 2 + b x + c p(x) = ax^2 + bx + c p ( x ) = a x 2 + b x + c describes a parabola when points ( x , y ) (x,y) ( x , y ) with y = p ( x ) y = p(x) y = p ( x ) are plotted.
The simplest parabola is p ( x ) = x 2 p(x) = x^2 p ( x ) = x 2 (Fig. a) which is always non-negative p ( x ) ≥ 0 p(x)\geq 0 p ( x ) ≥ 0 and p ( x ) = 0 p(x)=0 p ( x ) = 0 only when x = 0 x=0 x = 0 .
Note that p ( − x ) = p ( x ) p(-x) = p(x) p ( − x ) = p ( x ) since ( − x ) 2 = x 2 (-x)^2= x^2 ( − x ) 2 = x 2 .
If the leading coefficient is negative, then the parabola is concave (fig. b) but if it's positive the parabola is convex (fig. a).
This is sometimes used to describe a response function.
The Cubic The general form of a cubic polynomial is:
p ( x ) = a x 3 + b x 2 + c x + d p(x)=ax^3 + bx^2 + cx + d p ( x ) = a x 3 + b x 2 + c x + d
Figure:
p ( x ) = x 3 − 20 x 2 − 30 x − 4 p(x)=x^3-20x^2-30x-4 p ( x ) = x 3 − 20 x 2 − 30 x − 4
The Quartic The general form of the quartic polynomial is
p ( x ) = a x 4 + b x 3 + c x 2 + d x + e p(x) = ax^4 + bx^3 + cx^2 + dx + e p ( x ) = a x 4 + b x 3 + c x 2 + d x + e
Figure: The general shape.
Here we used the following equation
y = x 4 − x 3 − 7 x 2 + x + 6 y=x^4-x^3-7x^2+x+6 y = x 4 − x 3 − 7 x 2 + x + 6
Solving the Linear Equation If the value of y y y is given and we know that x x x and y y y are on a specific line so that y = a + b x y = a + bx y = a + b x , then we can find the value of x x x .
Details If a value of y y y is given, and we know that x x x and y y y lie on a specific straight line, so that y = a + b x y = a + bx y = a + b x , then we can find the value of x x x by considering y = a + b x y = a+bx y = a + b x as an equation to be solved for x x x , since y y y , a a a and b b b are all known.
The general solution is found through the following steps:
Equation: y = a + b x y = a + bx y = a + b x
Subtract a a a from both sides.
y − a = b x y-a = bx y − a = b x
b x = y − a bx=y-a b x = y − a
Divide by b b b on both sides if b b b is not equal to 0.
x = 1 b ( y − a ) x=\displaystyle\frac{1}{b}(y-a) x = b 1 ( y − a )
Roots of the Quadratic Equation The general solution of a x 2 + b x + c = 0 ax^2 + bx + c = 0 a x 2 + b x + c = 0 is given by x = − b ± b 2 − 4 a c 2 a x = \displaystyle\frac{-b \pm \sqrt{b^2 - 4ac}}{2a} x = 2 a − b ± b 2 − 4 a c .
Details Suppose we want to solve a x 2 + b x + c = 0 ax^2 + bx + c = 0 a x 2 + b x + c = 0 , where a ≠ 0 a \neq 0 a = 0 .
The general solution is given by the formula
x = − b ± b 2 − 4 a c 2 a , x = \displaystyle\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}, x = 2 a − b ± b 2 − 4 a c ,
if b 2 − 4 a c ≥ 0 b^2 - 4ac \geq 0 b 2 − 4 a c ≥ 0 .
On the other hand, if b 2 − 4 a c < 0 b^2-4ac<0 b 2 − 4 a c < 0 , the quadratic equation has no real solution.
Examples Solve x 2 − 3 x + 2 = 0 x^2 - 3x + 2 = 0 x 2 − 3 x + 2 = 0
Putting this into the context of the formulation a x 2 + b x + c = 0 ax^2+bx+c=0 a x 2 + b x + c = 0 , the constants are: a = 1 , b = − 3 , c = 2 a = 1, b = -3, c = 2 a = 1 , b = − 3 , c = 2 .
Inserting this into the formula for the roots gives:
x = − ( − 3 ) ± ( − 3 ) 2 − 4 ⋅ 1 ⋅ 2 2 ⋅ 1 x = 3 ± 9 − 8 2 x = 3 ± 1 2 x = 3 + 1 2 or 3 − 1 2 x = 4 2 or 2 2 x = 2 or 1 \begin{aligned} x &= \displaystyle\frac{-(-3) \pm \sqrt{(-3)^2 - 4 \cdot 1 \cdot 2}}{2 \cdot 1} \\ x &= \displaystyle\frac{3 \pm \sqrt{9 - 8}}{2} \\ x &= \displaystyle\frac{3 \pm \sqrt{1}}{2} \\ x &= \displaystyle\frac{3 + 1}{2} \text{ or } \displaystyle\frac{3 - 1}{2} \\ x &= \displaystyle\frac{4}{2} \text{ or } \displaystyle\frac{2}{2} \\ x &= 2 \text{ or } 1 \end{aligned} x x x x x x = 2 ⋅ 1 − ( − 3 ) ± ( − 3 ) 2 − 4 ⋅ 1 ⋅ 2 = 2 3 ± 9 − 8 = 2 3 ± 1 = 2 3 + 1 or 2 3 − 1 = 2 4 or 2 2 = 2 or 1 Find the roots of the following polynomial
3 x 4 + 14 x 2 + 15 3x^{4} + 14x^{2} + 15 3 x 4 + 14 x 2 + 15
We can use the quadratic equation to solve for the roots of this polynomial if we substitute a variable for x 2 x^{2} x 2 .
Let's use the letter a a a :
3 a 2 + 14 a + 15 3a^{2} + 14a + 15 3 a 2 + 14 a + 15
We then plug the constants in to the quadratic equation.
x = − ( 14 ) ± 1 4 2 − 4 ⋅ 3 ⋅ 15 2 ⋅ 3 x = \displaystyle\frac{-(14) \pm \sqrt{14^{2} - 4 \cdot 3 \cdot 15}}{2 \cdot 3} x = 2 ⋅ 3 − ( 14 ) ± 1 4 2 − 4 ⋅ 3 ⋅ 15
which simplifies to:
− ( 14 ) ± 196 − 180 6 \displaystyle\frac{-(14) \pm \sqrt{196 - 180}}{6} 6 − ( 14 ) ± 196 − 180
which equals − 5 3 -\displaystyle\frac{5}{3} − 3 5 (using the + + + sign) and − 3 -3 − 3 (using the − - − sign).
Then, since we substituted a for x 2 x^2 x 2 we need to take the square root of these values to get the roots of the polynomial.
So,
x 1 , 2 = ± − 5 3 x_{1,2} = \pm \sqrt{-\displaystyle\frac{5}{3}} x 1 , 2 = ± − 3 5
and
x 3 , 4 = ± 3 x_{3,4} = \pm \sqrt{3} x 3 , 4 = ± 3